/**
 * Created by yy on 2017/7/21.
 */

$(function(){
     var url = server + '/server/users/classify/finish.json';
    $.post(url, function(data){
        if (data.code == 12000) {
            alert("登录超时");
            window.location.replace('../login.html');
        }
        var ctx = template('./workMessage-tpl', data);
        console.log(data);
        $("#completed").html(ctx);
    });

});
